package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.SigninRecordDao;
import com.platform.entity.SigninRecordEntity;
import com.platform.service.SigninRecordService;

/**
 * Service实现类
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-10-25 11:27:35
 */
@Service("signinRecordService")
public class SigninRecordServiceImpl implements SigninRecordService {
    @Autowired
    private SigninRecordDao signinRecordDao;

    @Override
    public SigninRecordEntity queryObject(Integer id) {
        return signinRecordDao.queryObject(id);
    }

    @Override
    public List<SigninRecordEntity> queryList(Map<String, Object> map) {
        return signinRecordDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return signinRecordDao.queryTotal(map);
    }

    @Override
    public int save(SigninRecordEntity signinRecord) {
        return signinRecordDao.save(signinRecord);
    }

    @Override
    public int update(SigninRecordEntity signinRecord) {
        return signinRecordDao.update(signinRecord);
    }

    @Override
    public int delete(Integer id) {
        return signinRecordDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[]ids) {
        return signinRecordDao.deleteBatch(ids);
    }
}
